<template>
  <div class="demo">
    <div class="demo-title">自定义提示</div>
    <div class="demo-content">
      <Slider :tip-formatter="formatter" />
      <Slider :tip-formatter="null" />
    </div>
  </div>
</template>

<script lang="ts" setup>
  import Slider from '@sscd/slider';
  const formatter = (value) => `${value}%`;
</script>
